package com.techwells.learningkites.networkservice.model;

import java.io.Serializable;

public class Serial implements Serializable {
	
	public int id;
	public int videoId;
	public String cnName;
	public String enName;
	public String icon;
	public String duration;
	public String resource;
	public int sequence;
	public String introduction;
	public boolean isExperience;
	public boolean isPublish;
	public boolean isComplete;
	public String publishTime;
	public String completeTime;
	public int learnedNum;
	
	public Serial(){
		id = 0;
		videoId = 0;
		cnName = "";
		enName = "";
		icon = "";
		duration = "";
		resource = "";
		sequence = 0;
		introduction = "";
		isExperience = false;
		isPublish = false;
		isComplete = false;
		publishTime = "";
		completeTime = "";
		learnedNum = 0;
	}

	@Override
	public String toString() {
		return "Segment [id=" + id + ", videoId=" + videoId + ", cnName="
				+ cnName + ", enName=" + enName + ", icon=" + icon
				+ ", duration=" + duration + ", resource=" + resource
				+ ", sequence=" + sequence + ", introduction=" + introduction
				+ ", isExperience=" + isExperience + ", isPublish=" + isPublish
				+ ", isComplete=" + isComplete + ", publishTime=" + publishTime
				+ ", completeTime=" + completeTime + ", learnedNum="
				+ learnedNum + "]";
	}

	

}
